package com.zhu.ssm.exception;

public class BusinessException extends RuntimeException{
    private int code;
    public BusinessException(){
        super();
    }
    public BusinessException(Integer code,String message){
        super(message);
        this.code=code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
